// 导出常量
export { MessageType, GameType, ConnectionType } from './constants.js'

// 导出核心管理器
export { WebSocketManager, safeCloseWebSocket, createMessage } from './core-manager.js'

// 导出房间管理器
export { 
  createGameRoomManager, 
  createChatRoomManager, 
  createRoomListManager 
} from './room-managers.js'

// 导出统一管理器
export { 
  UnifiedWebSocketManager,
  unifiedWebSocketManager,
  createChatConnection,
  createGameConnection,
  closeAllConnections,
  getConnectionStatus,
  getAllConnectionStatus
} from './unified-manager.js'

// 导出统计和调试功能
export {
  getWebSocketStats,
  closeAllWebSocketConnections,
  getGlobalWebSocketManager,
  debugWebSocketConnections,
  cleanupInvalidConnections,
  getConnectionStatusSummary,
  checkConnectionHealth
} from './statistics.js'

// 导出全局管理器（用于高级用法）
export { default as globalWSManager } from './global-manager.js' 